﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class contact : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            this.menu.Logo = "1";
            InitContact();
        }
    }

    private void InitContact()
    {
        CItem item = new CItem();
        DataTable dt = item.ReadItems(6);
        if (null != dt)
        {
            this.ltlContact.Text = dt.Rows[0]["content"].ToString();
        }
        else
        {
            this.ltlContact.Text = "";
        }
    }
}